// import request from '@'

export function getData(params) {
  return {
    users: [
      {
        username: 'a',
        gender: 'male',
        course: [
          {
            language: 'a',
            lastestTour: 1,
            lastestUnit: 1,
            correctRate: 3.3
          }, {
            language: 'b',
            lastestTour: 2,
            lastestUnit: 2,
            correctRate: 3.3
          }
        ]
      },
      {
        username: 'b',
        gender: 'female',
        course: [
          {
            language: 'a',
            lastestTour: 1,
            lastestUnit: 1,
            correctRate: 3.3
          }
        ]
      }
    ]
  }
}

export function addData(params) {
  return {
  }
}

export function editData(params) {
  return {
  }
}

export function delData(params) {
  return {
  }
}
